package com.cuitrip.push.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * push 消息的对象
 * Created by ak on 15/11/7.
 */
public class PushMessageModel implements Serializable {

    /*{"msg_id":"uu04005144688881420001","display_type":"notification","alias":"","random_min":0,
            "body":{"text":"牵着狗狗看江水已确认预约","title":"您有一条确认订单消息","ticker":"确认订单消息",
            "after_open":"go_app","play_vibrate":"true","play_lights":"true","play_sound":"true"},
        "extra":{"sid":"171","personCount":"1","gmtCreated":"1446888856323","serviceDate":"2015-11-19 00:00:00",
            "travllerNick":"AK","insiderNick":"牵着狗狗看江水","goto":"orderDetail","messageType":"3",
            "messageId":"1712015110717313118","towho":"18","serviceName":"ttt","userType":"0"}}*/

    public String sid;

    public int personCount;

    public String serviceDate;

    public String travllerNick;

    public String insiderNick;

    @JSONField(name = "goto")
    public String schemeUrl;

    public int messageType;

    public String messageId;

    public String serviceName;

    public String insiderHeadPic;

    public String travllerHeadPic;

    public int userType;

    public String towho;

    public static final int TRAVELLER = 0;
    public static final int INSIDER = 1;


    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public int getPersonCount() {
        return personCount;
    }

    public void setPersonCount(int personCount) {
        this.personCount = personCount;
    }

    public String getServiceDate() {
        return serviceDate;
    }

    public void setServiceDate(String serviceDate) {
        this.serviceDate = serviceDate;
    }

    public String getTravllerNick() {
        return travllerNick;
    }

    public void setTravllerNick(String travllerNick) {
        this.travllerNick = travllerNick;
    }

    public String getInsiderNick() {
        return insiderNick;
    }

    public void setInsiderNick(String insiderNick) {
        this.insiderNick = insiderNick;
    }

    public String getSchemeUrl() {
        return schemeUrl;
    }

    public void setSchemeUrl(String schemeUrl) {
        this.schemeUrl = schemeUrl;
    }

    public int getMessageType() {
        return messageType;
    }

    public void setMessageType(int messageType) {
        this.messageType = messageType;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public String getTowho() {
        return towho;
    }

    public void setTowho(String towho) {
        this.towho = towho;
    }

    public String getInsiderHeadPic() {
        return insiderHeadPic;
    }

    public void setInsiderHeadPic(String insiderHeadPic) {
        this.insiderHeadPic = insiderHeadPic;
    }

    public String getTravllerHeadPic() {
        return travllerHeadPic;
    }

    public void setTravllerHeadPic(String travllerHeadPic) {
        this.travllerHeadPic = travllerHeadPic;
    }
}
